package com.hiultra.archive.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 水印配置对象 watermark_config
 * 
 * @author ls
 * @date 2023-08-29
 */
public class WatermarkConfigls extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 水印设置id */
    private Long watermarkId;

    /** 水印文字 */
    @Excel(name = "水印文字")
    private String watermarkText;

    /** 水印字体透明度 */
    @Excel(name = "水印字体透明度")
    private String opacity;

    /** 水印字体大小 */
    @Excel(name = "水印字体大小")
    private String fontsize;

    /** 水印倾斜角度（0-360） */
    @Excel(name = "水印倾斜角度", readConverterExp = "0=-360")
    private String angle;

    /** 竖向密度(数值越大每竖向水印越少) */
    @Excel(name = "竖向密度(数值越大每竖向水印越少)")
    private String heightdensity;

    /** 横向密度(数值越大每页横向水印越少) */
    @Excel(name = "横向密度(数值越大每页横向水印越少)")
    private String widthdensity;

    public void setWatermarkId(Long watermarkId) 
    {
        this.watermarkId = watermarkId;
    }

    public Long getWatermarkId() 
    {
        return watermarkId;
    }
    public void setWatermarkText(String watermarkText) 
    {
        this.watermarkText = watermarkText;
    }

    public String getWatermarkText() 
    {
        return watermarkText;
    }
    public void setOpacity(String opacity) 
    {
        this.opacity = opacity;
    }

    public String getOpacity() 
    {
        return opacity;
    }
    public void setFontsize(String fontsize) 
    {
        this.fontsize = fontsize;
    }

    public String getFontsize() 
    {
        return fontsize;
    }
    public void setAngle(String angle) 
    {
        this.angle = angle;
    }

    public String getAngle() 
    {
        return angle;
    }
    public void setHeightdensity(String heightdensity) 
    {
        this.heightdensity = heightdensity;
    }

    public String getHeightdensity() 
    {
        return heightdensity;
    }
    public void setWidthdensity(String widthdensity) 
    {
        this.widthdensity = widthdensity;
    }

    public String getWidthdensity() 
    {
        return widthdensity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("watermarkId", getWatermarkId())
            .append("watermarkText", getWatermarkText())
            .append("opacity", getOpacity())
            .append("fontsize", getFontsize())
            .append("angle", getAngle())
            .append("heightdensity", getHeightdensity())
            .append("widthdensity", getWidthdensity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
